package com.andy.qi.repository;

import org.springframework.data.repository.Repository;

import com.andy.qi.domain.User;

public interface UserRepository extends Repository<User, String> {

    boolean exists(String id);
    
    void save(User user);

    User findOne(String id);

    User findOneByAccount(String account);
}
